module.exports = {
	
	// 公共模块
	login: { url: "/sys/login" }, //1.登录
	
	menu: { url: "/sys/menu/nav", type: GET }, //2.获取菜单权限
	
	loginUser: { url: "/sys/user/info", type: GET }, //3.获取当前登录的用户信息
	
	logout: { url: "/sys/logout" }, //4.退出登录
	
	changePwd: { url: "/sys/user/updatePassword" }, //5.修改密码
	
	dictAll: { url: "/sys/sysdictionary/list" }, //6.数据字典查询
	
	changeCampus : { url: "/sys/user/changeCampus", type: GET }, //7.修改校区
	
	addUser : { url: "/sys/user/save" }, //8.新增用户
	
	userListByOrg : { url: "/sys/user/listUsersByOrg", type: GET }, //9.获取机构下用户列表
	
	userListByCampus: { url: "/sys/user/listCampus" }, //14.获取校区下用户列表

	getSsoLoginURL : { url: "/other/moxueyuan/getSsoLoginURL", type: GET }, //10.获取登录链接
	
	uploadFile : { //10.上传文件
		url: "/file/upload", 
		config: { headers: { "Content-Type": "multipart/form-data"}}  
	},

	test : { //10.测试数据
		url: "user/captcha", 
		config: { headers: { "Authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbiI6IiIsInVzZXJfaWQiOiIiLCJhdWQiOiJ2dHJvbl91c2VyIiwiZXhwIjozNjAwMDAwLCJqdGkiOiI0YTU2ZmU2NS1kODQyLTQ2YmYtOTczOC0wOTE3ZDAxMmRiM2EiLCJpYXQiOjE1NzQwNjQzNjcsImlzcyI6InpnWGc5aUdHeXJwMHV6OWdYYjZ1c2E3UUt4MW1yeDltIn0.AzjioPEr1mugpdDhBUXSikuIvGdo_tjtDOIGMOoB5tQ"}}  
	},


	getListOfCampus :{url: "/sys/campusclasstime/getListOfCampus", type: GET},
	
	//获取班级排课对应链接资源类表
	getLinkResourcesByClassSyllabus :{url:"/edumgr/courseteaacher2syllabus/getLinkResourcesByClassSyllabus",type:GET},
	
	//获取资源访问路径信息
	getResourceAccessUrl:{url:"/sys/resource/getResourceAccessUrl",type:GET},
	
	//获取库课程课节关联资源列表创 
	getLinkResourcesOfSyllabus:{url:"/edumgr/librarycoursesyllabus/getLinkResourcesOfSyllabus",type:GET},
	
	getSTSToken : { url: "/bos/getSTSToken", type: GET}, //获取STS(临时授权服务)的token信息
	
	checkValidityOfSTSToken : { url: "/bos/checkValidityOfSTSToken"}, //校验STSToken有效性

	switchOrg:{url:'/sys/user/switchOrg', type: GET},//切换机构

	switchRole:{url:'/sys/rolegroup/switchRole', type: GET},//主附角色切换
	
}
